package com.maretska.tiga;

import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

public class Segitiga {
	int sudut1;
	int sudut2;
	int sudut3;
	
	public Segitiga(){
	}
	
	public ResponceStatus segitiga(){
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		try{
			System.out.println("Masukkan Nilai Sudut 1 : ");
			sudut1 = Integer.parseInt(br.readLine());
			System.out.println("Masukkan Nilai Sudut 2 : ");
			sudut2 = Integer.parseInt(br.readLine());
			System.out.println("Masukkan Nilai Sudut 3 : ");
			sudut3 = Integer.parseInt(br.readLine());
		}
		catch(IOException ioe){
			System.out.println("SALAH");
		}
		ResponceStatus responsModel = new ResponceStatus(sudut1, sudut2, sudut3);
		return responsModel;
	}
}
